<?php

namespace app\index\service\payments;

use think\Request;

/**
 * 支付&退款回调接口
 * PaymentNotifyInterface
 */
interface PaymentNotifyInterface
{
    /**
     * 支付回调
     * @param Request $request
     * @return mixed
     */
    public function payCallback(Request $request);

    /**
     * 退款回调
     * @param Request $request
     * @return mixed
     */
    public function refundCallback(Request $request);
}
